package com.appointment.dto;

import com.appointment.validation.ValueInList;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AppointmentUpdateStatusRequestDto {

    @NotNull(message = "预约id不能为空")
    private String id;

    @NotNull(message = "状态不能为空")
    @ValueInList(values = {"1", "2"}, message = "状态不正确")
    private int status;
}
